class Cars:
    # 初始化
    def __init__(self, car_no, car_wheels, car_color, car_weight, car_fuel):
        self.__car_no = car_no
        self.__car_wheels = car_wheels
        self.__car_color = car_color
        self.__car_weight = car_weight
        self.__car_fuel = car_fuel

    # 跑（要求参数传入车的具体功能，比如越野，赛车）
    @staticmethod
    def drive(function):
        print(f"这辆车正在进行{function}功能。")


ferrari = Cars("FERRARI001", 4, "红色", 1500, 50)
bmw = Cars("BMW001", 4, "蓝色", 1600, 60)
suzuki = Cars("SUZUKI001", 4, "黑色", 1400, 55)
wuling = Cars("WULING001", 4, "白色", 1200, 40)
tractor = Cars("TRACTOR001", 4, "绿色", 2000, 70)

ferrari.drive("越野")
bmw.drive("赛车")
suzuki.drive("城市驾驶")
wuling.drive("家庭用车")
tractor.drive("农用车")
